import { DefaultFooter } from '@ant-design/pro-components';

const Footer: React.FC = () => {
  const defaultMessage = '程序媛 Gigi 出品';
  const currentYear = new Date().getFullYear();
  return (
    <DefaultFooter
      copyright={`${currentYear} ${defaultMessage}`}
      links={[
        {
          key: 'zgdz',
          title: '找个搭子～',
          href:
            process.env.NODE_ENV === 'production'
              ? 'https://zgdz.gigi-code.asia/#/login'
              : 'http://localhost:5173',
          blankTarget: true,
        },
        {
          key: 'Gitee',
          title: 'Gitee @Gigi',
          href: 'https://gitee.com/ZhangYingYing_123_Bette',
          blankTarget: true,
        },
      ]}
    />
  );
};
export default Footer;
